package org.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName Consultant_evaluation
 * @Description TODO
 * @Author yuezhijie
 * @Date 2025年08月17日 22:02
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Consultant_evaluation {
    private int id;
    private String content;
    private int star;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date evaluationTime;
    private int anonymity;
    private int userId;
    private int consultantId;
    private int myConsultId;
    private Consultant consultant;

}
